<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="utf-8"%>
<%@ page import="weaver.interfaces.JC.GetData" %>
<%@ page import="java.io.PrintWriter" %>
<%@ page import="weaver.general.BaseBean" %>
<%
    //获取当前登录id
    String loginid = null;
    Cookie[] cookies = request.getCookies();
    for (Cookie cookie:
         cookies) {
        if ("loginidweaver".equals(cookie.getName())){
            loginid = cookie.getValue();
        }
    }
    if (loginid == null) {
        response.getWriter().write("loginid is null");
        return;
    }
    new BaseBean().writeLog("================================查询明源待办："+loginid);
    GetData gd = new GetData();
    String cut = gd.getTodoNum("ss",loginid);

    PrintWriter writer = response.getWriter();
    writer.write(cut);
%>   